﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WeekExam.PassPort.ErrorCode
{
    /// <summary>
    /// 返回状态码
    /// </summary>
    public enum ResultCode
    {
        查询成功 = 100,
        查询失败 = 101,
        添加成功 = 200,
        添加失败 = 201,
        删除成功 = 300,
        删除失败 = 301,
        修改成功 = 400,
        修改失败 = 401,
        [Description("执行成功")]
        Success=1,
        [Description("执行失败")]
        Error=2,
        [Description("执行重复")]
        Same=3,
    }
}
